package com.intel.two.service.community;

import com.intel.two.bo.community.SecurityBo;
import com.intel.two.common.LayuiPageVo;
import com.intel.two.pojo.community.Security;
import com.intel.two.vo.community.securityBarVo;
import com.intel.two.vo.community.securityPieVo;

import java.util.List;
import java.util.Map;

public interface SecurityService {
    /*查全部+分页*/
    LayuiPageVo<Security> securityPageData(Map<String, Object> params);
    /*删除*/
    int deleteSecurity(Integer security_id);
    /*批量删除*/
    int deleteSecurityAll(Map<String, Object> map);
    /*更新*/
    int updateSecurity(Security security);
    /*柱状图*/
    List<securityBarVo> sexBarData();
    /*饼状图*/
    List<securityPieVo> sexPieData();

    /*导入*/
    int addSecurity(Security security);
    /*导出*/
    List<SecurityBo> securityExcelData(Security security);



}
